Overview | Package | Class | Tree | Deprecated | Index | Help Java Platform
1.1.7
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Class com.sun.java.swing.Box.Filler

java.lang.Object
  |
  +--java.awt.Component
        |
        +--com.sun.java.swing.Box.Filler

public static class Box.Filler
extends java.awt.Component
An implementation of a lightweight component that participates in layout but has no view.

Warning: serialized objects of this class will not be compatible with future swing releases. The current serialization support is appropriate for short term storage or RMI between Swing1.0 applications. It will not be possible to load serialized Swing1.0 objects with future releases of Swing. The JDK1.2 release of Swing will be the compatibility baseline for the serialized form of Swing objects.

See Also:
Serialized Form

Inner Class Summary
Box.Filler.AccessibleBoxFiller
           
 
Field Summary
AccessibleContext accessibleContext
          The currently set AccessibleContext object.
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Constructor Summary
Box.Filler(java.awt.Dimension min, java.awt.Dimension pref, java.awt.Dimension max)
          Constructor to create shape with the given size ranges.
 
Method Summary
void changeShape(java.awt.Dimension min, java.awt.Dimension pref, java.awt.Dimension max)
          Change the size requests for this shape.
AccessibleContext getAccessibleContext()
          Gets the AccessibleContext associated with this Component.
java.awt.Dimension getMaximumSize()
          Returns the maximum size of the component.
java.awt.Dimension getMinimumSize()
          Returns the minimum size of the component.
java.awt.Dimension getPreferredSize()
          Returns the preferred size of the component.
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getName, getParent, getPeer, getPreferredSize, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paint, paramString, postEvent, preferredSize, prepareImage, prepareImage, printAll, print, processComponentEvent, processEvent, processFocusEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFont, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, update, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Field Detail

accessibleContext

protected AccessibleContext accessibleContext
The currently set AccessibleContext object.
Constructor Detail

Box.Filler

public Box.Filler(java.awt.Dimension min,
                  java.awt.Dimension pref,
                  java.awt.Dimension max)
Constructor to create shape with the given size ranges.
Parameters:
min - Minimum size
pref - Preferred size
max - Maximum size
Method Detail

changeShape

public void changeShape(java.awt.Dimension min,
                        java.awt.Dimension pref,
                        java.awt.Dimension max)
Change the size requests for this shape. An invalidate() is propagated upward as a result so that layout will eventually happen with using the new sizes.
Parameters:
min - Value to return for getMinimumSize
pref - Value to return for getPreferredSize
max - Value to return for getMaximumSize

getMinimumSize

public java.awt.Dimension getMinimumSize()
Returns the minimum size of the component.
Returns:
the size
Overrides:
getMinimumSize in class java.awt.Component

getPreferredSize

public java.awt.Dimension getPreferredSize()
Returns the preferred size of the component.
Returns:
the size
Overrides:
getPreferredSize in class java.awt.Component

getMaximumSize

public java.awt.Dimension getMaximumSize()
Returns the maximum size of the component.
Returns:
the size
Overrides:
getMaximumSize in class java.awt.Component

getAccessibleContext

public AccessibleContext getAccessibleContext()
Gets the AccessibleContext associated with this Component. Creates a new context if necessary.
Returns:
the AccessibleContext of this Component

Overview | Package | Class | Tree | Deprecated | Index | Help Java Platform
1.1.7
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Submit a bug or feature
Submit comments/suggestions about javadoc
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.